package LopCoBan;

public class ChiTietHDN {

    private int SoLuong;
    private int DonGiaN;
    private HangHoa mHangHoa;
    private HDNhap mHDNhap;

    public ChiTietHDN () {
    }

    public int getDonGiaN () {
        return DonGiaN;
    }

    public void setDonGiaN (int val) {
        this.DonGiaN = val;
    }

    public int getSoLuong () {
        return SoLuong;
    }

    public void setSoLuong (int val) {
        this.SoLuong = val;
    }

    public HDNhap getHDNhap () {
        return mHDNhap;
    }
    
    public void setHDNhap (HDNhap val) {
        this.mHDNhap = val;
    }
    
    public HangHoa getHangHoa () {
        return mHangHoa;
    }

    public void setHangHoa (HangHoa val) {
        this.mHangHoa = val;
    }
    public int TienTungLH()
    {
    	return SoLuong*DonGiaN;
    }
    
}

